package com.sqj.netty.server;

/**
 * @author sqj88
 * @date 2018/6/21 13:48
 */
public class TestNetty {
    public static void main(String[] args) throws Exception {
        int port;
        if(args.length>0){
            port=Integer.parseInt(args[0]);
        }else {
            port=8091;
        }
        new DiscardServer(port).run();
        System.out.println("server:run");
    }
}
